package com.ceba.test.modules.statistic.entity;


import com.ceba.base.web.entity.IBase;
import com.ceba.test.base.enums.QrFileUploadFlagEnum;

/*
 * 导出统计信息时参数对象，对应数据库中cb_report_sign表
 */
public class ReportSign extends IBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1805819845270143560L;

	/**
	 * 数据库中的id列
	 */
	private String id;

	//BE版fileId，根据Id可找关于文档其他信息
	private String fileId;
	
	//文件类型fileType  =1 报告  2 附件
	private int fileType;
	
	//签名人 BE版
	private String createUserName;
	
	//签名人IP  API版
	private String createUserIP;
	
	//签名原始文档名称
	private String fileName;
	
	//API签名还是BE签名
	private int editionType;
	
	//签名份数
	private int Num;
	
	//判断是否是测试签名
	private boolean isTestSign=false;
	//二维码文件Id
	private String qrCodeFileId;

	//二维码文件是否上传成功。0-系统未开启二维码；1-未上传成功；2-上传成功
	private QrFileUploadFlagEnum qrFileUploadFlagEnum;

	//g_file表中的FILE_PATH列
	private String filePath;

	/**
	 * 骑缝章的起止页
	 * null：默认值。为文档首页和末页
	 * 数字：指定数字的起止页
	 * 非数字：根据关键字找到骑缝章起止页
	 */
	private String startPageOfQifeng;
	private String endPageOfQifeng;

	private Boolean needRemoveSig = false;

	//允许PDF内容复制 0-允许 1-不允许 ALLOW_PDF_CONTENT_COPY
	private int allowCopy = 1;

	public Boolean getNeedRemoveSig() {
		return needRemoveSig;
	}

	public void setNeedRemoveSig(Boolean needRemoveSig) {
		this.needRemoveSig = needRemoveSig;
	}

	public String getStartPageOfQifeng() {
		return startPageOfQifeng;
	}

	public void setStartPageOfQifeng(String startPageOfQifeng) {
		this.startPageOfQifeng = startPageOfQifeng;
	}

	public String getEndPageOfQifeng() {
		return endPageOfQifeng;
	}

	public void setEndPageOfQifeng(String endPageOfQifeng) {
		this.endPageOfQifeng = endPageOfQifeng;
	}

	public ReportSign() {
	}
	

	public ReportSign( int fileType, String createUserName,
			int editionType) {
		this.fileType = fileType;
		this.editionType = editionType;
		this.createUserName = createUserName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public int getFileType() {
		return fileType;
	}

	public void setFileType(int fileType) {
		this.fileType = fileType;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getCreateUserIP() {
		return createUserIP;
	}

	public void setCreateUserIP(String createUserIP) {
		this.createUserIP = createUserIP;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public int getEditionType() {
		return editionType;
	}

	public void setEditionType(int editionType) {
		this.editionType = editionType;
	}

	public int getNum() {
		return Num;
	}

	public void setNum(int num) {
		Num = num;
	}


	public boolean isTestSign() {
		return isTestSign;
	}


	public void setTestSign(boolean isTestSign) {
		this.isTestSign = isTestSign;
	}


	public String getQrCodeFileId() {
		return qrCodeFileId;
	}

	public void setQrCodeFileId(String qrCodeFileId) {
		this.qrCodeFileId = qrCodeFileId;
	}

	public QrFileUploadFlagEnum getQrFileUploadFlagEnum() {
		return qrFileUploadFlagEnum;
	}

	public void setQrFileUploadFlagEnum(QrFileUploadFlagEnum qrFileUploadFlagEnum) {
		this.qrFileUploadFlagEnum = qrFileUploadFlagEnum;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}



	public int getAllowCopy() {
		return allowCopy;
	}

	public void setAllowCopy(int allowCopy) {
		this.allowCopy = allowCopy;
	}
}
